<template>
  <div>
    <router-view />
    <footer-nav  v-show="isShowFooter" />
  </div>
</template> 

<script>
import footerNav from "@/components/footerNav";
export default {
  components: {
    footerNav,
  },
  data() { 
    return {
      // isShowFooter: true
    }    
  },
  computed: {
    isShowFooter() {
      return this.$store.state.isShowFooter
    }
  }
};
</script> 
 

<style lang="scss">
*{
  margin: 0;
  padding: 0;
}
</style>